From f4df530fc483effdba9b1a8da712bdfa86c34ea0 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 16 Feb 2026 04:06:55 +0200 Subject: [PATCH] status/volume: Check the stream before accessing it stream-updated will also get emitted when the stream is unset, and trying to access it then breaks. In such case we don't need to update the css class of the indicator as it will be hidden, and we will get another stream-updated before we show it again anyway. Part-of: --- js/ui/status/volume.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js index deadc16b7..d56cd7252 100644 --- a/js/ui/status/volume.js +++ b/js/ui/status/volume.js @@ -534,6 +534,9 @@ class InputIndicator extends VolumeIndicator { } _updatePrivacyIndicator() { + if (!this._stream) + return; + // Muted microphone doesn't need privacy indicator (no privacy concern) const {isMuted} = this._input._stream; if (isMuted) -- 2.39.5